<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title></title>
<link rel="stylesheet" href="/css_system/common.css" />
<link rel="stylesheet" href="/css_system/main.css" />
<link href="/js_system/jQueryUI/jquery-ui.css" rel="stylesheet">

<!-- 对话框 -->
<link rel="stylesheet" href="/js_system/easydialog/easydialog.css" />
<script type="text/javascript" src="/js_system/easydialog/easydialog.js"></script>
<script type="text/javascript" src="/js_system/cueeasy.js"></script>
<script type="text/javascript" src="/js_system/jquery.min.js"></script>
 <!-- 上传图片 -->
<script type="text/javascript" src="/uploadify/jquery.uploadify.js" ></script>
<link rel="stylesheet" type="text/css" href="/uploadify/uploadify.css">
<script type="text/javascript" src="/js_system/books.js"></script>
</head>
    <body>
  <div class="container">
            <div class="location clearfix">
                <div class="here_area fl"><strong>当前位置：</strong>资讯管理&nbsp;&nbsp;&raquo;&nbsp;&nbsp;修改分类</div>
                <div class="here_btn fr">
                    <a href="/admin_system/books/type" class="btn btn_back">返回</a>
                    <a href="javascript:;" onclick="location.replace(location.href);" class="btn btn_refresh">刷新</a>
                </div>
            </div>
            <div id="tabs">
            	<ul>
            		<li><a href="#tabs-1">基本信息</a></li>
            	</ul>
            	<div id="tabs-1">
                          @include('common.errors')
            	    <form action="/admin_system/books/edit/{{$entBookType->TypeID}}" method="post">
                            <input type="hidden" name="_token" value="<?php echo csrf_token(); ?>">
                    	<table class="dataTable">
                             <tbody>
                                    <tr>
                                        <td class="ltd">分类名称</td>
                                        <td class="rtd">
                                            <input id="txtTypeName" value="{{$entBookType->TypeName}}" class="input-text" type="text" name="txtTypeName" />
                                            <span class="text-red pl10">*必填</span>
                                        </td>
                                    </tr>
                                  	<tr>
                                        <td class="ltd">排序</td>
                                        <td class="rtd">
                                            <input id="txtSort" value="{{$entBookType->SortNumber}}" class="input-text" style="width: 50px;" type="text" name="txtSort" />
                                            <span class="text-red pl10">*必填</span>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="ltd">显示 / 隐藏</td>
                                        <td class="rtd">
                                           <span class="Radio">
                                           <?php $IsShow=$entBookType->IsShow;?>
                                            <input id="RadIsShow1"  type="radio" value="1" <?php if($IsShow==1){ echo 'checked="checked"';}  ?>  name="RadIsShow" /><label for="RadIsShow1">显示</label>
                                            <input id="RadIsShow0" type="radio" value="0" <?php if($IsShow==0){ echo 'checked="checked"';} ?>  name="RadIsShow" /><label for="RadIsShow0">隐藏</label>
                                            </span>
                                        </td>
                                    </tr>
                                </tbody>
                                <tfoot>
                                    <tr>
                                        <td class="ltd"></td>
                                        <td class="rtd">
                                        <input id="btnEditFrom" type="submit" class="btn btn_save" onclick="return CheckTypeFrom();"  name="btnEditFrom" value="保存">
                                        </td>
                                    </tr>
                                </tfoot>
                            </table>
 					</form>
            	</div>
            </div>
        </div>
	<script src="/js_system/jQueryUI/jquery-ui.js"></script>
	<script src="/js_system/jqueryui.js"></script>
    </body>
</html>